package com.rytx.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rytx.common.annotation.Excel;
import com.rytx.common.core.domain.BaseEntity;

/**
 * 用户发票模板对象 art_tax_template
 * 
 * @author rytx
 * @date 2024-09-02
 */
public class ArtTaxTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 发票抬头 */
    @Excel(name = "发票抬头")
    private String takName;

    /** 公司税号 */
    @Excel(name = "公司税号")
    private String taxNumber;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 开户银行 */
    @Excel(name = "开户银行")
    private String bank;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String bankNumber;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String userEmail;

    /** 创建用户id */
    @Excel(name = "创建用户id")
    private Long userId;

    /** 创建模板用户类型 0 个人 1公司 */
    @Excel(name = "创建模板用户类型 0 个人 1公司")
    private String userType;

    /** 开票类型 0 个人 1 企业 */
    @Excel(name = "开票类型 0 个人 1 企业")
    private Long takType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }
    public void setTakName(String takName) 
    {
        this.takName = takName;
    }

    public String getTakName() 
    {
        return takName;
    }
    public void setTaxNumber(String taxNumber) 
    {
        this.taxNumber = taxNumber;
    }

    public String getTaxNumber() 
    {
        return taxNumber;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setBank(String bank) 
    {
        this.bank = bank;
    }

    public String getBank() 
    {
        return bank;
    }
    public void setBankNumber(String bankNumber) 
    {
        this.bankNumber = bankNumber;
    }

    public String getBankNumber() 
    {
        return bankNumber;
    }
    public void setUserEmail(String userEmail) 
    {
        this.userEmail = userEmail;
    }

    public String getUserEmail() 
    {
        return userEmail;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }
    public void setTakType(Long takType) 
    {
        this.takType = takType;
    }

    public Long getTakType() 
    {
        return takType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("takName", getTakName())
            .append("taxNumber", getTaxNumber())
            .append("address", getAddress())
            .append("mobile", getMobile())
            .append("bank", getBank())
            .append("bankNumber", getBankNumber())
            .append("userEmail", getUserEmail())
            .append("userId", getUserId())
            .append("userType", getUserType())
            .append("takType", getTakType())
            .toString();
    }
}
